<template>
	 <div class="xcx-page-backtop" @click.stop="controlClick">	 
		<div class="el-backtop" style="right: 40px; bottom: 40px;"><i class="el-icon-caret-top"></i></div>
	 </div>
</template>

<script>	
	import moduleText from '@/views/module/text.vue';
	import moduleBg from '@/views/module/bg.vue';
	export default{
		 name:'conTopimg',
		 props:{
			 'item':{type:Object},
			 'prev':{default:false}
		 },
		 components:{moduleText,moduleBg},
		 data(){
			 return{				 
			 }
		 },	
		 methods:{
			controlClick(){
				if(!this.prev){
					this.$parent.controlClick(this.item.type);
				}
			}
		 }
	}
</script>

<style>
</style>
